-
Notifications
You must be signed in to change notification settings - Fork 821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Run smoketests with e2e #12558
Merged
sdstolworthy
merged 7 commits into
aws-amplify:dev
from
sdstolworthy:run-smoketests-with-e2e
May 1, 2023
Merged
Run smoketests with e2e #12558
sdstolworthy
merged 7 commits into
aws-amplify:dev
from
sdstolworthy:run-smoketests-with-e2e
May 1, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aws-eddy
approved these changes
May 1, 2023
Please run e2e tests to see if the smoke test pass in the pipeline 😄 |
sobolk
approved these changes
May 1, 2023
sdstolworthy
added a commit
that referenced
this pull request
May 5, 2023
* fix: generate model introspection regardless of studio and datastore (#12258) * fix: generate model introspection regardless of studio * fix: remove data store condition as well * fix: remove unused mocks from unit tests * fix: test coverage * fix: modelgen failure on windows (#12263) * fix: modelgen on windows * fix: run solo * fix: close stream * fix: unit test * fix: try this * fix(api): add null placeholder for nested stack during api rebuild (#11460) * fix(api): add null placeholder for nested stack during api rebuild * chore: re-enable tests on windows (#12272) * chore: re-enable tests on windows * chore: fix the exclusion list * chore: use small executor at wait step (#12275) * chore: increase parallelization in e2e tests (#12276) * chore: increase parallelization of tests * chore: run searchable migration solo * fix: source temp aws creds and ec2 instance credentials using general level config (#12181) * fix: added a test for general profile * fix: added config change * fix: exp1 * fix: running only single test * fix: added aplify error for missing creds * fix: fixes e2e * fix: cci config file * chore: fixes lint * chore: fixes ci config again * chore: running test in specific branches * fix: running test after verification * fix: address comments * fix: e2e tests config * chore: removes extra comments * fix: fixes codeql warnings * fix: config file --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: use nodejs 14.x compatible with CDK (#12280) * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * fix: skip backend sync on force push (#12262) * fix: skip backend sync on force push * chore: use pkg-fetch fork (#12259) * chore: fetch binaries from s3 * chore: fetch binaries from s3 (fix profile) * chore: fetch binaries from s3 (make context single item not list) * chore: fetch binaries from s3 (dummy commit) * chore: use image with binaries * chore: use image with binaries * chore: change tag to latest * chore: change hash * fix: all floating promises (#12293) * fix: all floating promises * fix: make arrow functions async that have awaits * chore: migrate from deprecated CDK api (#12297) * chore: convert generic errors that are user errors to AmplifyErrors (#12296) * chore: convert generic errors that are user errors to AmplifyErrors * fix: run extract-api * fix: unit test * chore: use npm registry (#12300) * chore: re-generate yarn.lock with NPM registry * chore: replace urls * chore: validate * fix: set registry in build steps (#12303) * fix: standalone test build * fix: standalone test build * fix: throws a warning for detector (#12307) * fix: throws a warning for detector * fix: address comments * chore: fix unit test header * chore: don't show deprecation warnings in binary (#12309) * fix: enable help for category statuses (#12216) * fix: enable help for category statuses * test: add e2e test for status with help * fix: handle bucket exists check for s3 buckets in opt in regions (#12298) * fix: handle bucket exists check for s3 buckets in opt in regions * test: add e2e tests for push, init, pull, env with help flag (#12310) * test: add e2e tests for push, init, pull, env * test: add e2e tests for push, init, pull, env (commit to restart build) * test: fix help tests on windows with regex (#12314) * chore: update pkg to 5.8.1 (#12322) * chore: upgrade yarn (#12323) * fix: fail `init --forcePush` fast if environment parameters or secrets are missing in the environment (#12279) * chore: revise net6 baseline (#12327) * fix: sso login (#12325) * chore: undo custom resource exclusions on windows (#12329) * chore: remove custom resource tests from windows exclusion list * chore: undo these todos too * chore: stick to us west * fix:removing auth from local state if imported userpool is deleted (#12286) * fix: cleanup auth resource when userpool not found * fix: lint fixes * fix: added e2e test for the scenario * chore: address comments * fix: added some refractoring * fix: unit tests * fix: lint fixes * fix: fixing lint in auth files * chore: removed unused imports * chore: adjust warning --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: reclassify file permissions errors as AmplifyError (#12336) * chore: reclassify file permissions errors as AmplifyError * fix: run extract-api * chore(api): update api dependencies post 5.2.0 release (#12345) * chore(api): update api dependencies post 5.2.0 release * fix unit test * lint fix * change compile to implementation (#12313) * chore: exclude auth test run on windows (#12355) Co-authored-by: Akshay Upadhyay <akz@amazon.com> * fix: multi select race conditions (#12356) * fix: null check for custom IAM policies Action array (#12346) * chore: bump codegen deps (#12358) * fix: reset readline terminal property on close (#12347) * fix: reset readline terminal property on close * test: ensure closeReadline is called on admin flow * fix: codegen version in snapshots (#12362) * fix: yarn failures (#12368) * chore: run e2e tests on windows on node18 (#12370) * chore: run e2e tests on windows on node18 * chore: fix build * chore: import from clodform-types instead of cloudform (#12371) * fix: env param fail-fast checks don't fatal on missing appId or envName (#12373) * chore(release): Publish rc [ci skip] - @aws-amplify/amplify-app@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-appsync-simulator@2.10.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-analytics@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-auth@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-custom@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-function@5.1.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-geo@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-hosting@3.5.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-interactions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-notifications@2.24.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-predictions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-storage@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-cli-core@4.0.2-rc.4a4caf393.0 - amplify-cli-core@4.0.2-rc.4a4caf393.0 - @aws-amplify/cli-extensibility-helper@3.0.2-rc.4a4caf393.0 - @aws-amplify/cli@11.0.4-rc.4a4caf393.0 - @aws-amplify/cli-internal@11.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-console-hosting@2.5.2-rc.4a4caf393.0 - @aws-amplify/amplify-console-integration-tests@2.6.10-rc.4a4caf393.0 - @aws-amplify/amplify-container-hosting@2.6.2-rc.4a4caf393.0 - amplify-dotnet-function-runtime-provider@1.7.5-rc.4a4caf393.0 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.2-rc.4a4caf393.0 - amplify-dynamodb-simulator@2.5.11-rc.4a4caf393.0 - @aws-amplify/amplify-e2e-core@4.8.2-rc.4a4caf393.0 - amplify-e2e-tests@4.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-environment-parameters@1.4.2-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-ios@3.6.4-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-javascript@3.9.2-rc.4a4caf393.0 - amplify-go-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-graphql-migration-tests@2.4.2-rc.4a4caf393.0 - amplify-java-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-java-function-template-provider@1.5.18-rc.4a4caf393.0 - @aws-amplify/amplify-migration-tests@5.4.3-rc.4a4caf393.0 - amplify-nodejs-function-runtime-provider@2.3.15-rc.4a4caf393.0 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.4-rc.4a4caf393.0 - @aws-amplify/amplify-opensearch-simulator@1.2.4-rc.4a4caf393.0 - @aws-amplify/amplify-prompts@2.6.7-rc.4a4caf393.0 - @aws-amplify/amplify-provider-awscloudformation@8.0.4-rc.4a4caf393.0 - amplify-python-function-runtime-provider@2.4.15-rc.4a4caf393.0 - @aws-amplify/amplify-util-mock@5.0.6-rc.4a4caf393.0 - @aws-amplify/amplify-util-uibuilder@1.6.13-rc.4a4caf393.0 * build(deps): bump vm2 from 3.9.11 to 3.9.15 (#12410) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.15. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.11...3.9.15) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: api hotfix for ownerfield as pk (#12422) * chore: update vm2 to ^3.9.16 (#12458) * build(deps): bump vm2 from 3.9.15 to 3.9.16 (#12457) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.15...3.9.16) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(amplify-util-uibuilder): formFeatureFlags metadata (#12369) * feat: pass formFeatureFlags metadata to generateUiBuilderForms * chore: update tests to include formFeatureFlags * chore: format syncAmplifyUIBuilderComponents with prettier --------- Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> * feat(amplify-util-uibuilder): support StorageField (#12386) * feat((amplify-util-uibuilder): support StorageField * chore: update all aws-sdk versions to ^2.1350.0 * fix: revert changes to package.json.ejs * chore: add **/aws-sdk to package.json under resolutions * fix: revert white space changes in package.json.ejs * fix: bump codegen-ui to 2.12.1 * chore: bump lint memory --------- Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> * fix: fixes merge conflicts * feat: minor version bump * fix: fixes unit test and pin gql transformer v1 version * fix: modelgen regression * fix: updated snapshot * fix(amplify-util-uibuilder): fix icon regression (#12498) * fix: double hooks invocation (fixes #9996) * chore: move smoketest script into the e2e suite (#12414) * chore: moved smoke test to e2e test; added nx task * fix: promisify npm install * fix: remove environment variable * fix: remove yargs * fix: out of sync yarn lock * fix: corrected rest api waits * chore: add rc and latest scripts for smoketest * fix: add defaults for env vars * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-app@5.0.4 - @aws-amplify/amplify-appsync-simulator@2.11.0 - @aws-amplify/amplify-category-analytics@5.0.6 - @aws-amplify/amplify-category-auth@3.1.0 - @aws-amplify/amplify-category-custom@3.0.4 - @aws-amplify/amplify-category-function@5.2.0 - @aws-amplify/amplify-category-geo@3.1.0 - @aws-amplify/amplify-category-hosting@3.5.6 - @aws-amplify/amplify-category-interactions@5.0.6 - @aws-amplify/amplify-category-notifications@2.24.6 - @aws-amplify/amplify-category-predictions@5.1.0 - @aws-amplify/amplify-category-storage@5.1.0 - @aws-amplify/amplify-cli-core@4.0.4 - amplify-cli-core@4.0.4 - @aws-amplify/cli-extensibility-helper@3.0.4 - @aws-amplify/cli@11.1.0 - @aws-amplify/cli-internal@11.1.0 - @aws-amplify/amplify-console-hosting@2.5.4 - @aws-amplify/amplify-console-integration-tests@2.7.0 - @aws-amplify/amplify-container-hosting@2.6.4 - amplify-dotnet-function-runtime-provider@1.7.7 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.4 - amplify-dynamodb-simulator@2.6.0 - @aws-amplify/amplify-e2e-core@4.9.0 - amplify-e2e-tests@4.1.0 - @aws-amplify/amplify-environment-parameters@1.5.0 - @aws-amplify/amplify-frontend-ios@3.6.6 - @aws-amplify/amplify-frontend-javascript@3.9.4 - amplify-go-function-runtime-provider@2.3.17 - amplify-graphql-migration-tests@2.4.4 - amplify-java-function-runtime-provider@2.3.17 - amplify-java-function-template-provider@1.5.20 - @aws-amplify/amplify-migration-tests@5.4.5 - amplify-nodejs-function-runtime-provider@2.3.17 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.6 - @aws-amplify/amplify-opensearch-simulator@1.3.0 - @aws-amplify/amplify-provider-awscloudformation@8.1.0 - amplify-python-function-runtime-provider@2.4.17 - amplify-storage-simulator@1.8.0 - @aws-amplify/amplify-util-import@2.5.0 - @aws-amplify/amplify-util-mock@5.1.0 - @aws-amplify/amplify-util-uibuilder@1.7.0 * test: ensure single execution of push hooks * fix: codeql findings * style: run prettier * Dev main merge b009319 (#12522) * fix: graceful fallback if us-east-1 AppState unavailable (#12435) * chore: fix failing e2e tests (#12526) Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(amplify-console-hosting): handle undefined errors (#12505) * fix(amplify-console-hosting): handle undefined errors * fix: typo in previous commit * chore: update api category and codegen dependencies (#12527) * chore: update api category dependencies * chore: add codegen, and reintroduce pkg uid field * fix: snapshot test embeds codegen version * fix(mock)-handle stack trace & produce meaningful error, resolution messages for mocking API & Func category * address comments * make getAppSyncAPI public * address comments * remove unwanted ? * fix: remove use of object ACLs #10283 * chore: remove the ability to add hosting with S3 and Cloudfront * removing dev option * chore: remove console.log * chore: add a new error for not supporting publish command * chore: allow users to publish on first launch * chore: fix failing unit test * chore: add a comment to document change * try to remove update install step * chore: address feedback * chore: address codeql comments * chore: fix failing e2e tests * chore: removing unused import * chore: change let to const * chore: remove extra steps that no longer exist * chore: add prod hosting to an e2e test * Update packages/amplify-category-hosting/index.js Co-authored-by: John Hockett <jhockett@users.noreply.github.com> * chore: removing some defaults that are repetitive * build(deps): bump yaml from 2.2.1 to 2.2.2 (#12521) Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](eemeli/yaml@v2.2.1...v2.2.2) --- updated-dependencies: - dependency-name: yaml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix lint errors * use AmplifyError as exception * chore: convert gql tansformer v1 core syntax errors errors to amplify exceptions (#12535) * chore: convert gql tansformer errors to amplify exceptions * chore: update API file * chore: modify failing e2e test * chore: remove test altogether * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-category-hosting@3.5.7 - @aws-amplify/cli@11.1.1 - @aws-amplify/cli-internal@11.1.1 - @aws-amplify/amplify-console-integration-tests@2.7.1 - @aws-amplify/amplify-e2e-core@4.9.1 - amplify-e2e-tests@4.1.1 - @aws-amplify/amplify-migration-tests@5.4.6 * chore: remove old version of cli-core * chore: add uid * fix: add min delay to exp backoff (#12488) * fix: remove smoketest from normal e2e flow (#12555) * fix: remove smoketest from normal e2e flow * fix: configure auth for smoketest * Revert "fix: configure auth for smoketest" This reverts commit 2d103c0. * fix: don't throw for missing backend in prepush function handler (#12531) * test: fix bad import in pull-2 e2e test (#12559) * fix: generate OAuth keys from cognito for amplify pull workflow (#12518) * fix: creates oauthKeys from userpool for pull use cases * fix: creates oauthKeys from userpool for pull use cases * fix: exclude pull test from windows * chore: revert test file changes * chore: fixes codeql warnings * chore: fixes lint * test: add hooks-c e2e to windows exclusion list (#12562) * Run smoketests with e2e (#12558) * feat(amplify-util-uibuilder): update codegen-ui to 2.13.1 (#12565) * fix(amplify-util-uibuilder): update codegen-ui to 2.13.1 * feat(amplify-util-uibuilder): make conditional ui-react-storage dep warning * fix(amplify-util-uibuilder): fixing unit test * fix(amplify-util-uibuilder): added guard functions for better readability * fix: exclude smoketests on windows; remove extraneous dependency (#12572) * chore: enable deprecation warnings in non-prod CLI (#12585) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Christopher Sundersingh <83315412+sundersc@users.noreply.github.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com>
awsluja
added a commit
that referenced
this pull request
Jun 7, 2023
* ci: build graph skeleton (#12278) * chore: cache sample * chore: update sample cache * chore: test * chore: test artifacts * chore: rename file * ci: testing s3 bucket * chore: fix build issue * ci: implement caching solution * ci: test * ci: fix config * ci: try another way to run buildlinux * ci: fix path * ci: fix source * ci: fix sh file header * ci: switch source to dot * ci: remove use of local * ci: update s3 pathing * ci: remove function * ci: try again * ci: specify bash * ci: bash test * ci: remove parenthesis * ci: updated the cache to load * ci: fix * ci: mute cache * ci: fix * ci: update cache * ci: cleanup * ci: add cache file method, graph updates * ci: graph updates * ci: rune2e sample * ci: yml fix * ci: fix * ci: fix * ci: fix * ci: add validate * ci: fix * ci: fix file names * ci: fix publish * ci: test * ci: fix pwd * ci: fix * ci: fix --------- Co-authored-by: Doesnt Matter <not@used.com> * ci: updates to fix build/package & produce binaries (#12284) * chore: cache sample * chore: update sample cache * chore: test * chore: test artifacts * chore: rename file * ci: testing s3 bucket * chore: fix build issue * ci: implement caching solution * ci: test * ci: fix config * ci: try another way to run buildlinux * ci: fix path * ci: fix source * ci: fix sh file header * ci: switch source to dot * ci: remove use of local * ci: update s3 pathing * ci: remove function * ci: try again * ci: specify bash * ci: bash test * ci: remove parenthesis * ci: updated the cache to load * ci: fix * ci: mute cache * ci: fix * ci: update cache * ci: cleanup * ci: add cache file method, graph updates * ci: graph updates * ci: rune2e sample * ci: yml fix * ci: fix * ci: fix * ci: fix * ci: add validate * ci: fix * ci: fix file names * ci: fix publish * ci: test * ci: fix pwd * ci: fix * ci: fix * ci: test branch name * ci: test branch * ci: test branch env var * ci: test with updated vars * ci: test env var * ci: test env var * ci: re-enable and test * ci: try something else for publish * ci: test * ci: try without caching verdaccio * ci: try new path to verdaccio cache * ci: disable sourcing invalid bash_env * ci: move env vars into correct file --------- Co-authored-by: Doesnt Matter <not@used.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> * ci: amplify cli install support (#12341) * ci: increase memory * ci: cleanup * ci: add binaries for arm,macos,win and add more jobs * ci: try reusing old cache, cleanup * ci: try to fix export * ci: interpolation fix * ci: fix location after installing cli * ci: uncomment and do a full run * ci: e2e test setup for assume role in test account org (#12392) * ci: test assume role * ci: retry * ci: test again * ci: cleanup * ci: reduce duration to 1h max for role chaining * ci: full e2e run * ci: run with breakpoint * ci: run with debug * ci: add CI flag * ci: re-enable test * ci: fix ci * ci: add circleci env var * ci: prepare for pr * ci: add artifact scanning, windows test and check in e2e support changes (#12403) * ci: test with mock values * ci: test with mock values * ci: fix typo * ci: cleanup apple mock key * ci: cleanup and add artifact scanning * ci: add artifact scanning using codebuild src dir * ci: rerun * ci: do a full run * ci: test artifacts and multi-core * ci: test artifacts * ci: add windows and cleanup * ci: rename codebuild specific files * ci: fix build issue * ci: try without image declaration * ci: update image pull role for windows * ci: retry without specifying image * ci: try without depends on linux job * ci: specify codebuild role in buildspec files * ci: try without specifying role * ci: try with windows 19 latest * ci: try just windows build * ci: fix version * ci: try again after updates to cb project * ci: remove invalid flag, cleanup * ci: extract node and npm versions * ci: install node 18 and yarn * ci: install yarn * ci: cleanup * chore: add two new workflows (#12420) * chore: add two new workflows * chore: clean up PR workflow * ci: add windows test support (#12499) * ci: try custom windows container * ci: try again with windows container * ci: try again with windows 2019 image * ci: use 2019 server base * ci: try again with node gyp * ci: try with updated image * ci: try bash * ci: bash * ci: use sh * ci: run windows only * ci: try dot * ci: try provisioning with medium windows * ci: try again * ci: try again * ci: try again * ci: try again * ci: try again * ci: try bash * ci: try again * ci: try again * ci: try with sh file * ci: try again * ci: try again * ci: enable linux too * ci: enable linux too * ci: try new image * ci: split linux and windows scripts * ci: try again * ci: try again with quotes * ci: try again * ci: try again * ci: try again * ci: try again with build * ci: try again * ci: try mixing pwsh with bash * ci: try bash with compound statement * ci: try bash source on separate lines * ci: try using bash as shell root * ci: try again with image6 * ci: try powershell with bash session * ci: try compound command * ci: build and save cache * ci: try again fix file name * ci: try compound statement again * ci: cleanup and move files around * ci: try bash * ci: add msys flags * ci: try fixing pathing * ci: remove yarn install * ci: use full pathing * ci: reset source after build * ci: test reading secrets * ci: try again * ci: try again * ci: refactor and run windows test * ci: try less parallelism * ci: try again * ci: try e2e run * ci: try again * ci: try without setting shell * ci: fix tar unzip * ci: use cache * ci: try with bash to export * ci: try with export in bash file * ci: try changin pathing * ci: try again with bash * ci: print out directories * ci: fix pathing * ci: try with forward slash * ci: move to scripts * ci: test amplify command * ci: try again * ci: try again * ci: get yarn cache location * ci: remove bashenv sourcing * ci: load from cache * ci: cleanup and full run * ci: load cache ignore exiting files * ci: try again * ci: try flipped flags * ci: try again with stdin * ci: print help command * ci: extract without overwriting * ci: tar without printing help * ci: try adding amplify to path * ci: print env homedrive * ci: try again * ci: try again * ci: try again * ci: try again * ci: try without choco * ci: working build & test run starts * ci: cleanup * ci: cleanup * ci: remove unused filed * ci: run test * ci: undo * test: add codebuild integration tests (#12545) * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * test: integration tests working * test: uncommenting things and renaming delete_auth script to delete * test: refactoring * test: refactoring * chore: remove installs included in image * chore: remove load verdaccio cache * chore: fix name of delete script * chore: remove aws-cli install * chore: clean up * chore: clean up * chore: fix artifact path * Merge dev into CB (#12595) * fix: generate model introspection regardless of studio and datastore (#12258) * fix: generate model introspection regardless of studio * fix: remove data store condition as well * fix: remove unused mocks from unit tests * fix: test coverage * fix: modelgen failure on windows (#12263) * fix: modelgen on windows * fix: run solo * fix: close stream * fix: unit test * fix: try this * fix(api): add null placeholder for nested stack during api rebuild (#11460) * fix(api): add null placeholder for nested stack during api rebuild * chore: re-enable tests on windows (#12272) * chore: re-enable tests on windows * chore: fix the exclusion list * chore: use small executor at wait step (#12275) * chore: increase parallelization in e2e tests (#12276) * chore: increase parallelization of tests * chore: run searchable migration solo * fix: source temp aws creds and ec2 instance credentials using general level config (#12181) * fix: added a test for general profile * fix: added config change * fix: exp1 * fix: running only single test * fix: added aplify error for missing creds * fix: fixes e2e * fix: cci config file * chore: fixes lint * chore: fixes ci config again * chore: running test in specific branches * fix: running test after verification * fix: address comments * fix: e2e tests config * chore: removes extra comments * fix: fixes codeql warnings * fix: config file --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: use nodejs 14.x compatible with CDK (#12280) * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * fix: skip backend sync on force push (#12262) * fix: skip backend sync on force push * chore: use pkg-fetch fork (#12259) * chore: fetch binaries from s3 * chore: fetch binaries from s3 (fix profile) * chore: fetch binaries from s3 (make context single item not list) * chore: fetch binaries from s3 (dummy commit) * chore: use image with binaries * chore: use image with binaries * chore: change tag to latest * chore: change hash * fix: all floating promises (#12293) * fix: all floating promises * fix: make arrow functions async that have awaits * chore: migrate from deprecated CDK api (#12297) * chore: convert generic errors that are user errors to AmplifyErrors (#12296) * chore: convert generic errors that are user errors to AmplifyErrors * fix: run extract-api * fix: unit test * chore: use npm registry (#12300) * chore: re-generate yarn.lock with NPM registry * chore: replace urls * chore: validate * fix: set registry in build steps (#12303) * fix: standalone test build * fix: standalone test build * fix: throws a warning for detector (#12307) * fix: throws a warning for detector * fix: address comments * chore: fix unit test header * chore: don't show deprecation warnings in binary (#12309) * fix: enable help for category statuses (#12216) * fix: enable help for category statuses * test: add e2e test for status with help * fix: handle bucket exists check for s3 buckets in opt in regions (#12298) * fix: handle bucket exists check for s3 buckets in opt in regions * test: add e2e tests for push, init, pull, env with help flag (#12310) * test: add e2e tests for push, init, pull, env * test: add e2e tests for push, init, pull, env (commit to restart build) * test: fix help tests on windows with regex (#12314) * chore: update pkg to 5.8.1 (#12322) * chore: upgrade yarn (#12323) * fix: fail `init --forcePush` fast if environment parameters or secrets are missing in the environment (#12279) * chore: revise net6 baseline (#12327) * fix: sso login (#12325) * chore: undo custom resource exclusions on windows (#12329) * chore: remove custom resource tests from windows exclusion list * chore: undo these todos too * chore: stick to us west * fix:removing auth from local state if imported userpool is deleted (#12286) * fix: cleanup auth resource when userpool not found * fix: lint fixes * fix: added e2e test for the scenario * chore: address comments * fix: added some refractoring * fix: unit tests * fix: lint fixes * fix: fixing lint in auth files * chore: removed unused imports * chore: adjust warning --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: reclassify file permissions errors as AmplifyError (#12336) * chore: reclassify file permissions errors as AmplifyError * fix: run extract-api * chore(api): update api dependencies post 5.2.0 release (#12345) * chore(api): update api dependencies post 5.2.0 release * fix unit test * lint fix * change compile to implementation (#12313) * chore: exclude auth test run on windows (#12355) Co-authored-by: Akshay Upadhyay <akz@amazon.com> * fix: multi select race conditions (#12356) * fix: null check for custom IAM policies Action array (#12346) * chore: bump codegen deps (#12358) * fix: reset readline terminal property on close (#12347) * fix: reset readline terminal property on close * test: ensure closeReadline is called on admin flow * fix: codegen version in snapshots (#12362) * fix: yarn failures (#12368) * chore: run e2e tests on windows on node18 (#12370) * chore: run e2e tests on windows on node18 * chore: fix build * chore: import from clodform-types instead of cloudform (#12371) * fix: env param fail-fast checks don't fatal on missing appId or envName (#12373) * chore(release): Publish rc [ci skip] - @aws-amplify/amplify-app@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-appsync-simulator@2.10.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-analytics@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-auth@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-custom@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-function@5.1.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-geo@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-hosting@3.5.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-interactions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-notifications@2.24.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-predictions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-storage@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-cli-core@4.0.2-rc.4a4caf393.0 - amplify-cli-core@4.0.2-rc.4a4caf393.0 - @aws-amplify/cli-extensibility-helper@3.0.2-rc.4a4caf393.0 - @aws-amplify/cli@11.0.4-rc.4a4caf393.0 - @aws-amplify/cli-internal@11.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-console-hosting@2.5.2-rc.4a4caf393.0 - @aws-amplify/amplify-console-integration-tests@2.6.10-rc.4a4caf393.0 - @aws-amplify/amplify-container-hosting@2.6.2-rc.4a4caf393.0 - amplify-dotnet-function-runtime-provider@1.7.5-rc.4a4caf393.0 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.2-rc.4a4caf393.0 - amplify-dynamodb-simulator@2.5.11-rc.4a4caf393.0 - @aws-amplify/amplify-e2e-core@4.8.2-rc.4a4caf393.0 - amplify-e2e-tests@4.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-environment-parameters@1.4.2-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-ios@3.6.4-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-javascript@3.9.2-rc.4a4caf393.0 - amplify-go-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-graphql-migration-tests@2.4.2-rc.4a4caf393.0 - amplify-java-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-java-function-template-provider@1.5.18-rc.4a4caf393.0 - @aws-amplify/amplify-migration-tests@5.4.3-rc.4a4caf393.0 - amplify-nodejs-function-runtime-provider@2.3.15-rc.4a4caf393.0 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.4-rc.4a4caf393.0 - @aws-amplify/amplify-opensearch-simulator@1.2.4-rc.4a4caf393.0 - @aws-amplify/amplify-prompts@2.6.7-rc.4a4caf393.0 - @aws-amplify/amplify-provider-awscloudformation@8.0.4-rc.4a4caf393.0 - amplify-python-function-runtime-provider@2.4.15-rc.4a4caf393.0 - @aws-amplify/amplify-util-mock@5.0.6-rc.4a4caf393.0 - @aws-amplify/amplify-util-uibuilder@1.6.13-rc.4a4caf393.0 * build(deps): bump vm2 from 3.9.11 to 3.9.15 (#12410) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.15. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.11...3.9.15) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: api hotfix for ownerfield as pk (#12422) * chore: update vm2 to ^3.9.16 (#12458) * build(deps): bump vm2 from 3.9.15 to 3.9.16 (#12457) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.15...3.9.16) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(amplify-util-uibuilder): formFeatureFlags metadata (#12369) * feat: pass formFeatureFlags metadata to generateUiBuilderForms * chore: update tests to include formFeatureFlags * chore: format syncAmplifyUIBuilderComponents with prettier --------- Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> * feat(amplify-util-uibuilder): support StorageField (#12386) * feat((amplify-util-uibuilder): support StorageField * chore: update all aws-sdk versions to ^2.1350.0 * fix: revert changes to package.json.ejs * chore: add **/aws-sdk to package.json under resolutions * fix: revert white space changes in package.json.ejs * fix: bump codegen-ui to 2.12.1 * chore: bump lint memory --------- Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> * fix: fixes merge conflicts * feat: minor version bump * fix: fixes unit test and pin gql transformer v1 version * fix: modelgen regression * fix: updated snapshot * fix(amplify-util-uibuilder): fix icon regression (#12498) * fix: double hooks invocation (fixes #9996) * chore: move smoketest script into the e2e suite (#12414) * chore: moved smoke test to e2e test; added nx task * fix: promisify npm install * fix: remove environment variable * fix: remove yargs * fix: out of sync yarn lock * fix: corrected rest api waits * chore: add rc and latest scripts for smoketest * fix: add defaults for env vars * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-app@5.0.4 - @aws-amplify/amplify-appsync-simulator@2.11.0 - @aws-amplify/amplify-category-analytics@5.0.6 - @aws-amplify/amplify-category-auth@3.1.0 - @aws-amplify/amplify-category-custom@3.0.4 - @aws-amplify/amplify-category-function@5.2.0 - @aws-amplify/amplify-category-geo@3.1.0 - @aws-amplify/amplify-category-hosting@3.5.6 - @aws-amplify/amplify-category-interactions@5.0.6 - @aws-amplify/amplify-category-notifications@2.24.6 - @aws-amplify/amplify-category-predictions@5.1.0 - @aws-amplify/amplify-category-storage@5.1.0 - @aws-amplify/amplify-cli-core@4.0.4 - amplify-cli-core@4.0.4 - @aws-amplify/cli-extensibility-helper@3.0.4 - @aws-amplify/cli@11.1.0 - @aws-amplify/cli-internal@11.1.0 - @aws-amplify/amplify-console-hosting@2.5.4 - @aws-amplify/amplify-console-integration-tests@2.7.0 - @aws-amplify/amplify-container-hosting@2.6.4 - amplify-dotnet-function-runtime-provider@1.7.7 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.4 - amplify-dynamodb-simulator@2.6.0 - @aws-amplify/amplify-e2e-core@4.9.0 - amplify-e2e-tests@4.1.0 - @aws-amplify/amplify-environment-parameters@1.5.0 - @aws-amplify/amplify-frontend-ios@3.6.6 - @aws-amplify/amplify-frontend-javascript@3.9.4 - amplify-go-function-runtime-provider@2.3.17 - amplify-graphql-migration-tests@2.4.4 - amplify-java-function-runtime-provider@2.3.17 - amplify-java-function-template-provider@1.5.20 - @aws-amplify/amplify-migration-tests@5.4.5 - amplify-nodejs-function-runtime-provider@2.3.17 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.6 - @aws-amplify/amplify-opensearch-simulator@1.3.0 - @aws-amplify/amplify-provider-awscloudformation@8.1.0 - amplify-python-function-runtime-provider@2.4.17 - amplify-storage-simulator@1.8.0 - @aws-amplify/amplify-util-import@2.5.0 - @aws-amplify/amplify-util-mock@5.1.0 - @aws-amplify/amplify-util-uibuilder@1.7.0 * test: ensure single execution of push hooks * fix: codeql findings * style: run prettier * Dev main merge b009319 (#12522) * fix: graceful fallback if us-east-1 AppState unavailable (#12435) * chore: fix failing e2e tests (#12526) Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(amplify-console-hosting): handle undefined errors (#12505) * fix(amplify-console-hosting): handle undefined errors * fix: typo in previous commit * chore: update api category and codegen dependencies (#12527) * chore: update api category dependencies * chore: add codegen, and reintroduce pkg uid field * fix: snapshot test embeds codegen version * fix(mock)-handle stack trace & produce meaningful error, resolution messages for mocking API & Func category * address comments * make getAppSyncAPI public * address comments * remove unwanted ? * fix: remove use of object ACLs #10283 * chore: remove the ability to add hosting with S3 and Cloudfront * removing dev option * chore: remove console.log * chore: add a new error for not supporting publish command * chore: allow users to publish on first launch * chore: fix failing unit test * chore: add a comment to document change * try to remove update install step * chore: address feedback * chore: address codeql comments * chore: fix failing e2e tests * chore: removing unused import * chore: change let to const * chore: remove extra steps that no longer exist * chore: add prod hosting to an e2e test * Update packages/amplify-category-hosting/index.js Co-authored-by: John Hockett <jhockett@users.noreply.github.com> * chore: removing some defaults that are repetitive * build(deps): bump yaml from 2.2.1 to 2.2.2 (#12521) Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](eemeli/yaml@v2.2.1...v2.2.2) --- updated-dependencies: - dependency-name: yaml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix lint errors * use AmplifyError as exception * chore: convert gql tansformer v1 core syntax errors errors to amplify exceptions (#12535) * chore: convert gql tansformer errors to amplify exceptions * chore: update API file * chore: modify failing e2e test * chore: remove test altogether * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-category-hosting@3.5.7 - @aws-amplify/cli@11.1.1 - @aws-amplify/cli-internal@11.1.1 - @aws-amplify/amplify-console-integration-tests@2.7.1 - @aws-amplify/amplify-e2e-core@4.9.1 - amplify-e2e-tests@4.1.1 - @aws-amplify/amplify-migration-tests@5.4.6 * chore: remove old version of cli-core * chore: add uid * fix: add min delay to exp backoff (#12488) * fix: remove smoketest from normal e2e flow (#12555) * fix: remove smoketest from normal e2e flow * fix: configure auth for smoketest * Revert "fix: configure auth for smoketest" This reverts commit 2d103c0. * fix: don't throw for missing backend in prepush function handler (#12531) * test: fix bad import in pull-2 e2e test (#12559) * fix: generate OAuth keys from cognito for amplify pull workflow (#12518) * fix: creates oauthKeys from userpool for pull use cases * fix: creates oauthKeys from userpool for pull use cases * fix: exclude pull test from windows * chore: revert test file changes * chore: fixes codeql warnings * chore: fixes lint * test: add hooks-c e2e to windows exclusion list (#12562) * Run smoketests with e2e (#12558) * feat(amplify-util-uibuilder): update codegen-ui to 2.13.1 (#12565) * fix(amplify-util-uibuilder): update codegen-ui to 2.13.1 * feat(amplify-util-uibuilder): make conditional ui-react-storage dep warning * fix(amplify-util-uibuilder): fixing unit test * fix(amplify-util-uibuilder): added guard functions for better readability * fix: exclude smoketests on windows; remove extraneous dependency (#12572) * chore: enable deprecation warnings in non-prod CLI (#12585) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Christopher Sundersingh <83315412+sundersc@users.noreply.github.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com> * ci: e2e test splitting (#12525) * ci: migration tests and test splitting * ci: try again * ci: try just one batch * ci: remove hyphens * ci: try again * ci: cleanup * ci: instance size updates * ci: switch to single batch * ci: trigger full e2e run * ci: try again * ci: try again * ci: fix bug with migration test splitting * ci: full e2e run * ci: fix structure * ci: re-add original file * ci: cleanup * ci: cleanup * cb: enable basic e2e test coverage (#12601) This adds several items to the CodeBuild setup including CodeCov updates and V8 supported coverage for e2e tests. The CodeBuild updates include the function _uploadCoverageLinux in the shared-scripts.sh file. This setup utilizes the CodeCov Token secret, managed by SecretsManager and injected by the build. It then gets the latest CodeCov uploader executable and verifies it via SHA. Once the verification is complete, the uploader API is called, automatically searching for coverage artifacts to upload. This update also includes an update to the codecov.yml file to conform to CodeCov validation. Lastly, in this update we take advantage of the embedded ability of NodeJS to report coverage metrics: https://blog.npmjs.org/post/178487845610/rethinking-javascript-test-coverage.html. We then run the c8 tool to convert that coverage into something that both CodeCov and CodeBuild can consume. It also integrates these reports in CodeBuild directly. * ci: fix migration tests (#12619) * ci: Setup e2e scripts (#12629) * ci: remove dependance on webhooks * ci: try again * ci: migrate to manual cb triggers for e2e * ci: set region if not defined * ci: cleanup * ci: refactor * ci: Add local cloud e2e script (#12643) * ci: remove dependance on webhooks * ci: try again * ci: migrate to manual cb triggers for e2e * ci: set region if not defined * ci: cleanup * ci: refactor * ci: add local cloud-e2e support * ci: cleanup missed file (#12651) * ci: fix e2e (#12652) * chore: add test reporting and aggregate reporting (#12641) * noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore commit * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: change tabs to spaces * chore: change tabs to spaces * chore: change tabs to spaces * chore: change tabs to spaces * chore: make test package variable * chore: make test package variable (remove from download) * chore: increase memory size for tests, run amplify-provider-awscloudformation separately (#12685) * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: enable test reporting for full e2e run in cb (#12675) * chore: put wait for ids in file * chore: put wait for ids in file * chore: put wait for ids in file * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: remove type assertions * chore: remove type assertions * chore: remove yarn install * chore: remove yarn install * chore: reduce size of generated e2e buildspec (#12686) * chore: noop trigger cb * chore: move compute type for migration tests to specific buildspec files * chore: shoreten upload_pkg_binaries identifier to reduce buildspec size * ci: add e2e coverage clover reports and cast artifacts (#12692) * fix: use and operatpr instead of semicolon to run unit tests (#12712) * chore: enable report aggregation for migration and windows tests (#12731) * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * ci: rename e2e branch to avoid triggering circleci job (#12721) * ci: rename e2e branch to avoid triggering circleci job * ci: update docs * fix: local test reporting wait ids variable in buildspec (#12741) * chore: fix local reports ids variable * chore: fix local reports ids variable * chore: fix local reports ids variable * chore: fix windows buildspec (#12743) * chore: fix_windows_buildspec * chore: fix_windows_buildspec * ci: fix lint error * ci: format * ci: fix publish * ci: add integration test to generated workflow * ci: separate codebuild & cci differences (#12751) * ci: update windows build for yarn2 (#12759) * ci: update scripts to match latest yarn2 windows build * ci: try again * ci: try again * ci: dont set global npm path * ci: cleanup var names & scripts * chore: cleanup --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Doesnt Matter <not@used.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Spencer Stolworthy <sstol@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Christopher Sundersingh <83315412+sundersc@users.noreply.github.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com> Co-authored-by: kuhlmanp <119457106+kuhlmanp@users.noreply.github.com>
danielleadams
pushed a commit
to danielleadams/amplify-cli
that referenced
this pull request
Jun 9, 2023
* ci: build graph skeleton (aws-amplify#12278) * chore: cache sample * chore: update sample cache * chore: test * chore: test artifacts * chore: rename file * ci: testing s3 bucket * chore: fix build issue * ci: implement caching solution * ci: test * ci: fix config * ci: try another way to run buildlinux * ci: fix path * ci: fix source * ci: fix sh file header * ci: switch source to dot * ci: remove use of local * ci: update s3 pathing * ci: remove function * ci: try again * ci: specify bash * ci: bash test * ci: remove parenthesis * ci: updated the cache to load * ci: fix * ci: mute cache * ci: fix * ci: update cache * ci: cleanup * ci: add cache file method, graph updates * ci: graph updates * ci: rune2e sample * ci: yml fix * ci: fix * ci: fix * ci: fix * ci: add validate * ci: fix * ci: fix file names * ci: fix publish * ci: test * ci: fix pwd * ci: fix * ci: fix --------- Co-authored-by: Doesnt Matter <not@used.com> * ci: updates to fix build/package & produce binaries (aws-amplify#12284) * chore: cache sample * chore: update sample cache * chore: test * chore: test artifacts * chore: rename file * ci: testing s3 bucket * chore: fix build issue * ci: implement caching solution * ci: test * ci: fix config * ci: try another way to run buildlinux * ci: fix path * ci: fix source * ci: fix sh file header * ci: switch source to dot * ci: remove use of local * ci: update s3 pathing * ci: remove function * ci: try again * ci: specify bash * ci: bash test * ci: remove parenthesis * ci: updated the cache to load * ci: fix * ci: mute cache * ci: fix * ci: update cache * ci: cleanup * ci: add cache file method, graph updates * ci: graph updates * ci: rune2e sample * ci: yml fix * ci: fix * ci: fix * ci: fix * ci: add validate * ci: fix * ci: fix file names * ci: fix publish * ci: test * ci: fix pwd * ci: fix * ci: fix * ci: test branch name * ci: test branch * ci: test branch env var * ci: test with updated vars * ci: test env var * ci: test env var * ci: re-enable and test * ci: try something else for publish * ci: test * ci: try without caching verdaccio * ci: try new path to verdaccio cache * ci: disable sourcing invalid bash_env * ci: move env vars into correct file --------- Co-authored-by: Doesnt Matter <not@used.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> * ci: amplify cli install support (aws-amplify#12341) * ci: increase memory * ci: cleanup * ci: add binaries for arm,macos,win and add more jobs * ci: try reusing old cache, cleanup * ci: try to fix export * ci: interpolation fix * ci: fix location after installing cli * ci: uncomment and do a full run * ci: e2e test setup for assume role in test account org (aws-amplify#12392) * ci: test assume role * ci: retry * ci: test again * ci: cleanup * ci: reduce duration to 1h max for role chaining * ci: full e2e run * ci: run with breakpoint * ci: run with debug * ci: add CI flag * ci: re-enable test * ci: fix ci * ci: add circleci env var * ci: prepare for pr * ci: add artifact scanning, windows test and check in e2e support changes (aws-amplify#12403) * ci: test with mock values * ci: test with mock values * ci: fix typo * ci: cleanup apple mock key * ci: cleanup and add artifact scanning * ci: add artifact scanning using codebuild src dir * ci: rerun * ci: do a full run * ci: test artifacts and multi-core * ci: test artifacts * ci: add windows and cleanup * ci: rename codebuild specific files * ci: fix build issue * ci: try without image declaration * ci: update image pull role for windows * ci: retry without specifying image * ci: try without depends on linux job * ci: specify codebuild role in buildspec files * ci: try without specifying role * ci: try with windows 19 latest * ci: try just windows build * ci: fix version * ci: try again after updates to cb project * ci: remove invalid flag, cleanup * ci: extract node and npm versions * ci: install node 18 and yarn * ci: install yarn * ci: cleanup * chore: add two new workflows (aws-amplify#12420) * chore: add two new workflows * chore: clean up PR workflow * ci: add windows test support (aws-amplify#12499) * ci: try custom windows container * ci: try again with windows container * ci: try again with windows 2019 image * ci: use 2019 server base * ci: try again with node gyp * ci: try with updated image * ci: try bash * ci: bash * ci: use sh * ci: run windows only * ci: try dot * ci: try provisioning with medium windows * ci: try again * ci: try again * ci: try again * ci: try again * ci: try again * ci: try bash * ci: try again * ci: try again * ci: try with sh file * ci: try again * ci: try again * ci: enable linux too * ci: enable linux too * ci: try new image * ci: split linux and windows scripts * ci: try again * ci: try again with quotes * ci: try again * ci: try again * ci: try again * ci: try again with build * ci: try again * ci: try mixing pwsh with bash * ci: try bash with compound statement * ci: try bash source on separate lines * ci: try using bash as shell root * ci: try again with image6 * ci: try powershell with bash session * ci: try compound command * ci: build and save cache * ci: try again fix file name * ci: try compound statement again * ci: cleanup and move files around * ci: try bash * ci: add msys flags * ci: try fixing pathing * ci: remove yarn install * ci: use full pathing * ci: reset source after build * ci: test reading secrets * ci: try again * ci: try again * ci: refactor and run windows test * ci: try less parallelism * ci: try again * ci: try e2e run * ci: try again * ci: try without setting shell * ci: fix tar unzip * ci: use cache * ci: try with bash to export * ci: try with export in bash file * ci: try changin pathing * ci: try again with bash * ci: print out directories * ci: fix pathing * ci: try with forward slash * ci: move to scripts * ci: test amplify command * ci: try again * ci: try again * ci: get yarn cache location * ci: remove bashenv sourcing * ci: load from cache * ci: cleanup and full run * ci: load cache ignore exiting files * ci: try again * ci: try flipped flags * ci: try again with stdin * ci: print help command * ci: extract without overwriting * ci: tar without printing help * ci: try adding amplify to path * ci: print env homedrive * ci: try again * ci: try again * ci: try again * ci: try again * ci: try without choco * ci: working build & test run starts * ci: cleanup * ci: cleanup * ci: remove unused filed * ci: run test * ci: undo * test: add codebuild integration tests (aws-amplify#12545) * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * test: integration tests working * test: uncommenting things and renaming delete_auth script to delete * test: refactoring * test: refactoring * chore: remove installs included in image * chore: remove load verdaccio cache * chore: fix name of delete script * chore: remove aws-cli install * chore: clean up * chore: clean up * chore: fix artifact path * Merge dev into CB (aws-amplify#12595) * fix: generate model introspection regardless of studio and datastore (aws-amplify#12258) * fix: generate model introspection regardless of studio * fix: remove data store condition as well * fix: remove unused mocks from unit tests * fix: test coverage * fix: modelgen failure on windows (aws-amplify#12263) * fix: modelgen on windows * fix: run solo * fix: close stream * fix: unit test * fix: try this * fix(api): add null placeholder for nested stack during api rebuild (aws-amplify#11460) * fix(api): add null placeholder for nested stack during api rebuild * chore: re-enable tests on windows (aws-amplify#12272) * chore: re-enable tests on windows * chore: fix the exclusion list * chore: use small executor at wait step (aws-amplify#12275) * chore: increase parallelization in e2e tests (aws-amplify#12276) * chore: increase parallelization of tests * chore: run searchable migration solo * fix: source temp aws creds and ec2 instance credentials using general level config (aws-amplify#12181) * fix: added a test for general profile * fix: added config change * fix: exp1 * fix: running only single test * fix: added aplify error for missing creds * fix: fixes e2e * fix: cci config file * chore: fixes lint * chore: fixes ci config again * chore: running test in specific branches * fix: running test after verification * fix: address comments * fix: e2e tests config * chore: removes extra comments * fix: fixes codeql warnings * fix: config file --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: use nodejs 14.x compatible with CDK (aws-amplify#12280) * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * fix: skip backend sync on force push (aws-amplify#12262) * fix: skip backend sync on force push * chore: use pkg-fetch fork (aws-amplify#12259) * chore: fetch binaries from s3 * chore: fetch binaries from s3 (fix profile) * chore: fetch binaries from s3 (make context single item not list) * chore: fetch binaries from s3 (dummy commit) * chore: use image with binaries * chore: use image with binaries * chore: change tag to latest * chore: change hash * fix: all floating promises (aws-amplify#12293) * fix: all floating promises * fix: make arrow functions async that have awaits * chore: migrate from deprecated CDK api (aws-amplify#12297) * chore: convert generic errors that are user errors to AmplifyErrors (aws-amplify#12296) * chore: convert generic errors that are user errors to AmplifyErrors * fix: run extract-api * fix: unit test * chore: use npm registry (aws-amplify#12300) * chore: re-generate yarn.lock with NPM registry * chore: replace urls * chore: validate * fix: set registry in build steps (aws-amplify#12303) * fix: standalone test build * fix: standalone test build * fix: throws a warning for detector (aws-amplify#12307) * fix: throws a warning for detector * fix: address comments * chore: fix unit test header * chore: don't show deprecation warnings in binary (aws-amplify#12309) * fix: enable help for category statuses (aws-amplify#12216) * fix: enable help for category statuses * test: add e2e test for status with help * fix: handle bucket exists check for s3 buckets in opt in regions (aws-amplify#12298) * fix: handle bucket exists check for s3 buckets in opt in regions * test: add e2e tests for push, init, pull, env with help flag (aws-amplify#12310) * test: add e2e tests for push, init, pull, env * test: add e2e tests for push, init, pull, env (commit to restart build) * test: fix help tests on windows with regex (aws-amplify#12314) * chore: update pkg to 5.8.1 (aws-amplify#12322) * chore: upgrade yarn (aws-amplify#12323) * fix: fail `init --forcePush` fast if environment parameters or secrets are missing in the environment (aws-amplify#12279) * chore: revise net6 baseline (aws-amplify#12327) * fix: sso login (aws-amplify#12325) * chore: undo custom resource exclusions on windows (aws-amplify#12329) * chore: remove custom resource tests from windows exclusion list * chore: undo these todos too * chore: stick to us west * fix:removing auth from local state if imported userpool is deleted (aws-amplify#12286) * fix: cleanup auth resource when userpool not found * fix: lint fixes * fix: added e2e test for the scenario * chore: address comments * fix: added some refractoring * fix: unit tests * fix: lint fixes * fix: fixing lint in auth files * chore: removed unused imports * chore: adjust warning --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: reclassify file permissions errors as AmplifyError (aws-amplify#12336) * chore: reclassify file permissions errors as AmplifyError * fix: run extract-api * chore(api): update api dependencies post 5.2.0 release (aws-amplify#12345) * chore(api): update api dependencies post 5.2.0 release * fix unit test * lint fix * change compile to implementation (aws-amplify#12313) * chore: exclude auth test run on windows (aws-amplify#12355) Co-authored-by: Akshay Upadhyay <akz@amazon.com> * fix: multi select race conditions (aws-amplify#12356) * fix: null check for custom IAM policies Action array (aws-amplify#12346) * chore: bump codegen deps (aws-amplify#12358) * fix: reset readline terminal property on close (aws-amplify#12347) * fix: reset readline terminal property on close * test: ensure closeReadline is called on admin flow * fix: codegen version in snapshots (aws-amplify#12362) * fix: yarn failures (aws-amplify#12368) * chore: run e2e tests on windows on node18 (aws-amplify#12370) * chore: run e2e tests on windows on node18 * chore: fix build * chore: import from clodform-types instead of cloudform (aws-amplify#12371) * fix: env param fail-fast checks don't fatal on missing appId or envName (aws-amplify#12373) * chore(release): Publish rc [ci skip] - @aws-amplify/amplify-app@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-appsync-simulator@2.10.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-analytics@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-auth@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-custom@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-function@5.1.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-geo@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-hosting@3.5.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-interactions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-notifications@2.24.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-predictions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-storage@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-cli-core@4.0.2-rc.4a4caf393.0 - amplify-cli-core@4.0.2-rc.4a4caf393.0 - @aws-amplify/cli-extensibility-helper@3.0.2-rc.4a4caf393.0 - @aws-amplify/cli@11.0.4-rc.4a4caf393.0 - @aws-amplify/cli-internal@11.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-console-hosting@2.5.2-rc.4a4caf393.0 - @aws-amplify/amplify-console-integration-tests@2.6.10-rc.4a4caf393.0 - @aws-amplify/amplify-container-hosting@2.6.2-rc.4a4caf393.0 - amplify-dotnet-function-runtime-provider@1.7.5-rc.4a4caf393.0 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.2-rc.4a4caf393.0 - amplify-dynamodb-simulator@2.5.11-rc.4a4caf393.0 - @aws-amplify/amplify-e2e-core@4.8.2-rc.4a4caf393.0 - amplify-e2e-tests@4.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-environment-parameters@1.4.2-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-ios@3.6.4-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-javascript@3.9.2-rc.4a4caf393.0 - amplify-go-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-graphql-migration-tests@2.4.2-rc.4a4caf393.0 - amplify-java-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-java-function-template-provider@1.5.18-rc.4a4caf393.0 - @aws-amplify/amplify-migration-tests@5.4.3-rc.4a4caf393.0 - amplify-nodejs-function-runtime-provider@2.3.15-rc.4a4caf393.0 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.4-rc.4a4caf393.0 - @aws-amplify/amplify-opensearch-simulator@1.2.4-rc.4a4caf393.0 - @aws-amplify/amplify-prompts@2.6.7-rc.4a4caf393.0 - @aws-amplify/amplify-provider-awscloudformation@8.0.4-rc.4a4caf393.0 - amplify-python-function-runtime-provider@2.4.15-rc.4a4caf393.0 - @aws-amplify/amplify-util-mock@5.0.6-rc.4a4caf393.0 - @aws-amplify/amplify-util-uibuilder@1.6.13-rc.4a4caf393.0 * build(deps): bump vm2 from 3.9.11 to 3.9.15 (aws-amplify#12410) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.15. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.11...3.9.15) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: api hotfix for ownerfield as pk (aws-amplify#12422) * chore: update vm2 to ^3.9.16 (aws-amplify#12458) * build(deps): bump vm2 from 3.9.15 to 3.9.16 (aws-amplify#12457) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.15...3.9.16) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(amplify-util-uibuilder): formFeatureFlags metadata (aws-amplify#12369) * feat: pass formFeatureFlags metadata to generateUiBuilderForms * chore: update tests to include formFeatureFlags * chore: format syncAmplifyUIBuilderComponents with prettier --------- Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> * feat(amplify-util-uibuilder): support StorageField (aws-amplify#12386) * feat((amplify-util-uibuilder): support StorageField * chore: update all aws-sdk versions to ^2.1350.0 * fix: revert changes to package.json.ejs * chore: add **/aws-sdk to package.json under resolutions * fix: revert white space changes in package.json.ejs * fix: bump codegen-ui to 2.12.1 * chore: bump lint memory --------- Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> * fix: fixes merge conflicts * feat: minor version bump * fix: fixes unit test and pin gql transformer v1 version * fix: modelgen regression * fix: updated snapshot * fix(amplify-util-uibuilder): fix icon regression (aws-amplify#12498) * fix: double hooks invocation (fixes aws-amplify#9996) * chore: move smoketest script into the e2e suite (aws-amplify#12414) * chore: moved smoke test to e2e test; added nx task * fix: promisify npm install * fix: remove environment variable * fix: remove yargs * fix: out of sync yarn lock * fix: corrected rest api waits * chore: add rc and latest scripts for smoketest * fix: add defaults for env vars * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-app@5.0.4 - @aws-amplify/amplify-appsync-simulator@2.11.0 - @aws-amplify/amplify-category-analytics@5.0.6 - @aws-amplify/amplify-category-auth@3.1.0 - @aws-amplify/amplify-category-custom@3.0.4 - @aws-amplify/amplify-category-function@5.2.0 - @aws-amplify/amplify-category-geo@3.1.0 - @aws-amplify/amplify-category-hosting@3.5.6 - @aws-amplify/amplify-category-interactions@5.0.6 - @aws-amplify/amplify-category-notifications@2.24.6 - @aws-amplify/amplify-category-predictions@5.1.0 - @aws-amplify/amplify-category-storage@5.1.0 - @aws-amplify/amplify-cli-core@4.0.4 - amplify-cli-core@4.0.4 - @aws-amplify/cli-extensibility-helper@3.0.4 - @aws-amplify/cli@11.1.0 - @aws-amplify/cli-internal@11.1.0 - @aws-amplify/amplify-console-hosting@2.5.4 - @aws-amplify/amplify-console-integration-tests@2.7.0 - @aws-amplify/amplify-container-hosting@2.6.4 - amplify-dotnet-function-runtime-provider@1.7.7 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.4 - amplify-dynamodb-simulator@2.6.0 - @aws-amplify/amplify-e2e-core@4.9.0 - amplify-e2e-tests@4.1.0 - @aws-amplify/amplify-environment-parameters@1.5.0 - @aws-amplify/amplify-frontend-ios@3.6.6 - @aws-amplify/amplify-frontend-javascript@3.9.4 - amplify-go-function-runtime-provider@2.3.17 - amplify-graphql-migration-tests@2.4.4 - amplify-java-function-runtime-provider@2.3.17 - amplify-java-function-template-provider@1.5.20 - @aws-amplify/amplify-migration-tests@5.4.5 - amplify-nodejs-function-runtime-provider@2.3.17 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.6 - @aws-amplify/amplify-opensearch-simulator@1.3.0 - @aws-amplify/amplify-provider-awscloudformation@8.1.0 - amplify-python-function-runtime-provider@2.4.17 - amplify-storage-simulator@1.8.0 - @aws-amplify/amplify-util-import@2.5.0 - @aws-amplify/amplify-util-mock@5.1.0 - @aws-amplify/amplify-util-uibuilder@1.7.0 * test: ensure single execution of push hooks * fix: codeql findings * style: run prettier * Dev main merge b009319 (aws-amplify#12522) * fix: graceful fallback if us-east-1 AppState unavailable (aws-amplify#12435) * chore: fix failing e2e tests (aws-amplify#12526) Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(amplify-console-hosting): handle undefined errors (aws-amplify#12505) * fix(amplify-console-hosting): handle undefined errors * fix: typo in previous commit * chore: update api category and codegen dependencies (aws-amplify#12527) * chore: update api category dependencies * chore: add codegen, and reintroduce pkg uid field * fix: snapshot test embeds codegen version * fix(mock)-handle stack trace & produce meaningful error, resolution messages for mocking API & Func category * address comments * make getAppSyncAPI public * address comments * remove unwanted ? * fix: remove use of object ACLs #10283 * chore: remove the ability to add hosting with S3 and Cloudfront * removing dev option * chore: remove console.log * chore: add a new error for not supporting publish command * chore: allow users to publish on first launch * chore: fix failing unit test * chore: add a comment to document change * try to remove update install step * chore: address feedback * chore: address codeql comments * chore: fix failing e2e tests * chore: removing unused import * chore: change let to const * chore: remove extra steps that no longer exist * chore: add prod hosting to an e2e test * Update packages/amplify-category-hosting/index.js Co-authored-by: John Hockett <jhockett@users.noreply.github.com> * chore: removing some defaults that are repetitive * build(deps): bump yaml from 2.2.1 to 2.2.2 (aws-amplify#12521) Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](eemeli/yaml@v2.2.1...v2.2.2) --- updated-dependencies: - dependency-name: yaml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix lint errors * use AmplifyError as exception * chore: convert gql tansformer v1 core syntax errors errors to amplify exceptions (aws-amplify#12535) * chore: convert gql tansformer errors to amplify exceptions * chore: update API file * chore: modify failing e2e test * chore: remove test altogether * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-category-hosting@3.5.7 - @aws-amplify/cli@11.1.1 - @aws-amplify/cli-internal@11.1.1 - @aws-amplify/amplify-console-integration-tests@2.7.1 - @aws-amplify/amplify-e2e-core@4.9.1 - amplify-e2e-tests@4.1.1 - @aws-amplify/amplify-migration-tests@5.4.6 * chore: remove old version of cli-core * chore: add uid * fix: add min delay to exp backoff (aws-amplify#12488) * fix: remove smoketest from normal e2e flow (aws-amplify#12555) * fix: remove smoketest from normal e2e flow * fix: configure auth for smoketest * Revert "fix: configure auth for smoketest" This reverts commit 2d103c0. * fix: don't throw for missing backend in prepush function handler (aws-amplify#12531) * test: fix bad import in pull-2 e2e test (aws-amplify#12559) * fix: generate OAuth keys from cognito for amplify pull workflow (aws-amplify#12518) * fix: creates oauthKeys from userpool for pull use cases * fix: creates oauthKeys from userpool for pull use cases * fix: exclude pull test from windows * chore: revert test file changes * chore: fixes codeql warnings * chore: fixes lint * test: add hooks-c e2e to windows exclusion list (aws-amplify#12562) * Run smoketests with e2e (aws-amplify#12558) * feat(amplify-util-uibuilder): update codegen-ui to 2.13.1 (aws-amplify#12565) * fix(amplify-util-uibuilder): update codegen-ui to 2.13.1 * feat(amplify-util-uibuilder): make conditional ui-react-storage dep warning * fix(amplify-util-uibuilder): fixing unit test * fix(amplify-util-uibuilder): added guard functions for better readability * fix: exclude smoketests on windows; remove extraneous dependency (aws-amplify#12572) * chore: enable deprecation warnings in non-prod CLI (aws-amplify#12585) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Christopher Sundersingh <83315412+sundersc@users.noreply.github.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com> * ci: e2e test splitting (aws-amplify#12525) * ci: migration tests and test splitting * ci: try again * ci: try just one batch * ci: remove hyphens * ci: try again * ci: cleanup * ci: instance size updates * ci: switch to single batch * ci: trigger full e2e run * ci: try again * ci: try again * ci: fix bug with migration test splitting * ci: full e2e run * ci: fix structure * ci: re-add original file * ci: cleanup * ci: cleanup * cb: enable basic e2e test coverage (aws-amplify#12601) This adds several items to the CodeBuild setup including CodeCov updates and V8 supported coverage for e2e tests. The CodeBuild updates include the function _uploadCoverageLinux in the shared-scripts.sh file. This setup utilizes the CodeCov Token secret, managed by SecretsManager and injected by the build. It then gets the latest CodeCov uploader executable and verifies it via SHA. Once the verification is complete, the uploader API is called, automatically searching for coverage artifacts to upload. This update also includes an update to the codecov.yml file to conform to CodeCov validation. Lastly, in this update we take advantage of the embedded ability of NodeJS to report coverage metrics: https://blog.npmjs.org/post/178487845610/rethinking-javascript-test-coverage.html. We then run the c8 tool to convert that coverage into something that both CodeCov and CodeBuild can consume. It also integrates these reports in CodeBuild directly. * ci: fix migration tests (aws-amplify#12619) * ci: Setup e2e scripts (aws-amplify#12629) * ci: remove dependance on webhooks * ci: try again * ci: migrate to manual cb triggers for e2e * ci: set region if not defined * ci: cleanup * ci: refactor * ci: Add local cloud e2e script (aws-amplify#12643) * ci: remove dependance on webhooks * ci: try again * ci: migrate to manual cb triggers for e2e * ci: set region if not defined * ci: cleanup * ci: refactor * ci: add local cloud-e2e support * ci: cleanup missed file (aws-amplify#12651) * ci: fix e2e (aws-amplify#12652) * chore: add test reporting and aggregate reporting (aws-amplify#12641) * noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore commit * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: change tabs to spaces * chore: change tabs to spaces * chore: change tabs to spaces * chore: change tabs to spaces * chore: make test package variable * chore: make test package variable (remove from download) * chore: increase memory size for tests, run amplify-provider-awscloudformation separately (aws-amplify#12685) * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: enable test reporting for full e2e run in cb (aws-amplify#12675) * chore: put wait for ids in file * chore: put wait for ids in file * chore: put wait for ids in file * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: remove type assertions * chore: remove type assertions * chore: remove yarn install * chore: remove yarn install * chore: reduce size of generated e2e buildspec (aws-amplify#12686) * chore: noop trigger cb * chore: move compute type for migration tests to specific buildspec files * chore: shoreten upload_pkg_binaries identifier to reduce buildspec size * ci: add e2e coverage clover reports and cast artifacts (aws-amplify#12692) * fix: use and operatpr instead of semicolon to run unit tests (aws-amplify#12712) * chore: enable report aggregation for migration and windows tests (aws-amplify#12731) * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * ci: rename e2e branch to avoid triggering circleci job (aws-amplify#12721) * ci: rename e2e branch to avoid triggering circleci job * ci: update docs * fix: local test reporting wait ids variable in buildspec (aws-amplify#12741) * chore: fix local reports ids variable * chore: fix local reports ids variable * chore: fix local reports ids variable * chore: fix windows buildspec (aws-amplify#12743) * chore: fix_windows_buildspec * chore: fix_windows_buildspec * ci: fix lint error * ci: format * ci: fix publish * ci: add integration test to generated workflow * ci: separate codebuild & cci differences (aws-amplify#12751) * ci: update windows build for yarn2 (aws-amplify#12759) * ci: update scripts to match latest yarn2 windows build * ci: try again * ci: try again * ci: dont set global npm path * ci: cleanup var names & scripts * chore: cleanup --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Doesnt Matter <not@used.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Spencer Stolworthy <sstol@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Christopher Sundersingh <83315412+sundersc@users.noreply.github.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com> Co-authored-by: kuhlmanp <119457106+kuhlmanp@users.noreply.github.com>
sundersc
added a commit
that referenced
this pull request
Jun 21, 2023
* fix: fetch deployment key from current-cloud-backend (#12687) * fix: fetch deployment key from current-cloud-backend * fix: fix e2e * fix: added Prepush after init and before deploy (#12674) * fix: added Prepush after init and before deploy * chore: remove comments * chore: excluded test on win * fix: revert projectMeta changes * chore: lint issues * ci: E2E/PR pipelines (#12708) * ci: build graph skeleton (#12278) * chore: cache sample * chore: update sample cache * chore: test * chore: test artifacts * chore: rename file * ci: testing s3 bucket * chore: fix build issue * ci: implement caching solution * ci: test * ci: fix config * ci: try another way to run buildlinux * ci: fix path * ci: fix source * ci: fix sh file header * ci: switch source to dot * ci: remove use of local * ci: update s3 pathing * ci: remove function * ci: try again * ci: specify bash * ci: bash test * ci: remove parenthesis * ci: updated the cache to load * ci: fix * ci: mute cache * ci: fix * ci: update cache * ci: cleanup * ci: add cache file method, graph updates * ci: graph updates * ci: rune2e sample * ci: yml fix * ci: fix * ci: fix * ci: fix * ci: add validate * ci: fix * ci: fix file names * ci: fix publish * ci: test * ci: fix pwd * ci: fix * ci: fix --------- Co-authored-by: Doesnt Matter <not@used.com> * ci: updates to fix build/package & produce binaries (#12284) * chore: cache sample * chore: update sample cache * chore: test * chore: test artifacts * chore: rename file * ci: testing s3 bucket * chore: fix build issue * ci: implement caching solution * ci: test * ci: fix config * ci: try another way to run buildlinux * ci: fix path * ci: fix source * ci: fix sh file header * ci: switch source to dot * ci: remove use of local * ci: update s3 pathing * ci: remove function * ci: try again * ci: specify bash * ci: bash test * ci: remove parenthesis * ci: updated the cache to load * ci: fix * ci: mute cache * ci: fix * ci: update cache * ci: cleanup * ci: add cache file method, graph updates * ci: graph updates * ci: rune2e sample * ci: yml fix * ci: fix * ci: fix * ci: fix * ci: add validate * ci: fix * ci: fix file names * ci: fix publish * ci: test * ci: fix pwd * ci: fix * ci: fix * ci: test branch name * ci: test branch * ci: test branch env var * ci: test with updated vars * ci: test env var * ci: test env var * ci: re-enable and test * ci: try something else for publish * ci: test * ci: try without caching verdaccio * ci: try new path to verdaccio cache * ci: disable sourcing invalid bash_env * ci: move env vars into correct file --------- Co-authored-by: Doesnt Matter <not@used.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> * ci: amplify cli install support (#12341) * ci: increase memory * ci: cleanup * ci: add binaries for arm,macos,win and add more jobs * ci: try reusing old cache, cleanup * ci: try to fix export * ci: interpolation fix * ci: fix location after installing cli * ci: uncomment and do a full run * ci: e2e test setup for assume role in test account org (#12392) * ci: test assume role * ci: retry * ci: test again * ci: cleanup * ci: reduce duration to 1h max for role chaining * ci: full e2e run * ci: run with breakpoint * ci: run with debug * ci: add CI flag * ci: re-enable test * ci: fix ci * ci: add circleci env var * ci: prepare for pr * ci: add artifact scanning, windows test and check in e2e support changes (#12403) * ci: test with mock values * ci: test with mock values * ci: fix typo * ci: cleanup apple mock key * ci: cleanup and add artifact scanning * ci: add artifact scanning using codebuild src dir * ci: rerun * ci: do a full run * ci: test artifacts and multi-core * ci: test artifacts * ci: add windows and cleanup * ci: rename codebuild specific files * ci: fix build issue * ci: try without image declaration * ci: update image pull role for windows * ci: retry without specifying image * ci: try without depends on linux job * ci: specify codebuild role in buildspec files * ci: try without specifying role * ci: try with windows 19 latest * ci: try just windows build * ci: fix version * ci: try again after updates to cb project * ci: remove invalid flag, cleanup * ci: extract node and npm versions * ci: install node 18 and yarn * ci: install yarn * ci: cleanup * chore: add two new workflows (#12420) * chore: add two new workflows * chore: clean up PR workflow * ci: add windows test support (#12499) * ci: try custom windows container * ci: try again with windows container * ci: try again with windows 2019 image * ci: use 2019 server base * ci: try again with node gyp * ci: try with updated image * ci: try bash * ci: bash * ci: use sh * ci: run windows only * ci: try dot * ci: try provisioning with medium windows * ci: try again * ci: try again * ci: try again * ci: try again * ci: try again * ci: try bash * ci: try again * ci: try again * ci: try with sh file * ci: try again * ci: try again * ci: enable linux too * ci: enable linux too * ci: try new image * ci: split linux and windows scripts * ci: try again * ci: try again with quotes * ci: try again * ci: try again * ci: try again * ci: try again with build * ci: try again * ci: try mixing pwsh with bash * ci: try bash with compound statement * ci: try bash source on separate lines * ci: try using bash as shell root * ci: try again with image6 * ci: try powershell with bash session * ci: try compound command * ci: build and save cache * ci: try again fix file name * ci: try compound statement again * ci: cleanup and move files around * ci: try bash * ci: add msys flags * ci: try fixing pathing * ci: remove yarn install * ci: use full pathing * ci: reset source after build * ci: test reading secrets * ci: try again * ci: try again * ci: refactor and run windows test * ci: try less parallelism * ci: try again * ci: try e2e run * ci: try again * ci: try without setting shell * ci: fix tar unzip * ci: use cache * ci: try with bash to export * ci: try with export in bash file * ci: try changin pathing * ci: try again with bash * ci: print out directories * ci: fix pathing * ci: try with forward slash * ci: move to scripts * ci: test amplify command * ci: try again * ci: try again * ci: get yarn cache location * ci: remove bashenv sourcing * ci: load from cache * ci: cleanup and full run * ci: load cache ignore exiting files * ci: try again * ci: try flipped flags * ci: try again with stdin * ci: print help command * ci: extract without overwriting * ci: tar without printing help * ci: try adding amplify to path * ci: print env homedrive * ci: try again * ci: try again * ci: try again * ci: try again * ci: try without choco * ci: working build & test run starts * ci: cleanup * ci: cleanup * ci: remove unused filed * ci: run test * ci: undo * test: add codebuild integration tests (#12545) * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * chore: noop trigger debug session build * test: integration tests working * test: uncommenting things and renaming delete_auth script to delete * test: refactoring * test: refactoring * chore: remove installs included in image * chore: remove load verdaccio cache * chore: fix name of delete script * chore: remove aws-cli install * chore: clean up * chore: clean up * chore: fix artifact path * Merge dev into CB (#12595) * fix: generate model introspection regardless of studio and datastore (#12258) * fix: generate model introspection regardless of studio * fix: remove data store condition as well * fix: remove unused mocks from unit tests * fix: test coverage * fix: modelgen failure on windows (#12263) * fix: modelgen on windows * fix: run solo * fix: close stream * fix: unit test * fix: try this * fix(api): add null placeholder for nested stack during api rebuild (#11460) * fix(api): add null placeholder for nested stack during api rebuild * chore: re-enable tests on windows (#12272) * chore: re-enable tests on windows * chore: fix the exclusion list * chore: use small executor at wait step (#12275) * chore: increase parallelization in e2e tests (#12276) * chore: increase parallelization of tests * chore: run searchable migration solo * fix: source temp aws creds and ec2 instance credentials using general level config (#12181) * fix: added a test for general profile * fix: added config change * fix: exp1 * fix: running only single test * fix: added aplify error for missing creds * fix: fixes e2e * fix: cci config file * chore: fixes lint * chore: fixes ci config again * chore: running test in specific branches * fix: running test after verification * fix: address comments * fix: e2e tests config * chore: removes extra comments * fix: fixes codeql warnings * fix: config file --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: use nodejs 14.x compatible with CDK (#12280) * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * chore: use nodejs 14.x compatible with CDK * fix: skip backend sync on force push (#12262) * fix: skip backend sync on force push * chore: use pkg-fetch fork (#12259) * chore: fetch binaries from s3 * chore: fetch binaries from s3 (fix profile) * chore: fetch binaries from s3 (make context single item not list) * chore: fetch binaries from s3 (dummy commit) * chore: use image with binaries * chore: use image with binaries * chore: change tag to latest * chore: change hash * fix: all floating promises (#12293) * fix: all floating promises * fix: make arrow functions async that have awaits * chore: migrate from deprecated CDK api (#12297) * chore: convert generic errors that are user errors to AmplifyErrors (#12296) * chore: convert generic errors that are user errors to AmplifyErrors * fix: run extract-api * fix: unit test * chore: use npm registry (#12300) * chore: re-generate yarn.lock with NPM registry * chore: replace urls * chore: validate * fix: set registry in build steps (#12303) * fix: standalone test build * fix: standalone test build * fix: throws a warning for detector (#12307) * fix: throws a warning for detector * fix: address comments * chore: fix unit test header * chore: don't show deprecation warnings in binary (#12309) * fix: enable help for category statuses (#12216) * fix: enable help for category statuses * test: add e2e test for status with help * fix: handle bucket exists check for s3 buckets in opt in regions (#12298) * fix: handle bucket exists check for s3 buckets in opt in regions * test: add e2e tests for push, init, pull, env with help flag (#12310) * test: add e2e tests for push, init, pull, env * test: add e2e tests for push, init, pull, env (commit to restart build) * test: fix help tests on windows with regex (#12314) * chore: update pkg to 5.8.1 (#12322) * chore: upgrade yarn (#12323) * fix: fail `init --forcePush` fast if environment parameters or secrets are missing in the environment (#12279) * chore: revise net6 baseline (#12327) * fix: sso login (#12325) * chore: undo custom resource exclusions on windows (#12329) * chore: remove custom resource tests from windows exclusion list * chore: undo these todos too * chore: stick to us west * fix:removing auth from local state if imported userpool is deleted (#12286) * fix: cleanup auth resource when userpool not found * fix: lint fixes * fix: added e2e test for the scenario * chore: address comments * fix: added some refractoring * fix: unit tests * fix: lint fixes * fix: fixing lint in auth files * chore: removed unused imports * chore: adjust warning --------- Co-authored-by: Akshay Upadhyay <akz@amazon.com> * chore: reclassify file permissions errors as AmplifyError (#12336) * chore: reclassify file permissions errors as AmplifyError * fix: run extract-api * chore(api): update api dependencies post 5.2.0 release (#12345) * chore(api): update api dependencies post 5.2.0 release * fix unit test * lint fix * change compile to implementation (#12313) * chore: exclude auth test run on windows (#12355) Co-authored-by: Akshay Upadhyay <akz@amazon.com> * fix: multi select race conditions (#12356) * fix: null check for custom IAM policies Action array (#12346) * chore: bump codegen deps (#12358) * fix: reset readline terminal property on close (#12347) * fix: reset readline terminal property on close * test: ensure closeReadline is called on admin flow * fix: codegen version in snapshots (#12362) * fix: yarn failures (#12368) * chore: run e2e tests on windows on node18 (#12370) * chore: run e2e tests on windows on node18 * chore: fix build * chore: import from clodform-types instead of cloudform (#12371) * fix: env param fail-fast checks don't fatal on missing appId or envName (#12373) * chore(release): Publish rc [ci skip] - @aws-amplify/amplify-app@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-appsync-simulator@2.10.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-analytics@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-auth@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-custom@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-function@5.1.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-geo@3.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-category-hosting@3.5.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-interactions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-notifications@2.24.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-predictions@5.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-category-storage@5.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-cli-core@4.0.2-rc.4a4caf393.0 - amplify-cli-core@4.0.2-rc.4a4caf393.0 - @aws-amplify/cli-extensibility-helper@3.0.2-rc.4a4caf393.0 - @aws-amplify/cli@11.0.4-rc.4a4caf393.0 - @aws-amplify/cli-internal@11.0.4-rc.4a4caf393.0 - @aws-amplify/amplify-console-hosting@2.5.2-rc.4a4caf393.0 - @aws-amplify/amplify-console-integration-tests@2.6.10-rc.4a4caf393.0 - @aws-amplify/amplify-container-hosting@2.6.2-rc.4a4caf393.0 - amplify-dotnet-function-runtime-provider@1.7.5-rc.4a4caf393.0 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.2-rc.4a4caf393.0 - amplify-dynamodb-simulator@2.5.11-rc.4a4caf393.0 - @aws-amplify/amplify-e2e-core@4.8.2-rc.4a4caf393.0 - amplify-e2e-tests@4.0.2-rc.4a4caf393.0 - @aws-amplify/amplify-environment-parameters@1.4.2-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-ios@3.6.4-rc.4a4caf393.0 - @aws-amplify/amplify-frontend-javascript@3.9.2-rc.4a4caf393.0 - amplify-go-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-graphql-migration-tests@2.4.2-rc.4a4caf393.0 - amplify-java-function-runtime-provider@2.3.15-rc.4a4caf393.0 - amplify-java-function-template-provider@1.5.18-rc.4a4caf393.0 - @aws-amplify/amplify-migration-tests@5.4.3-rc.4a4caf393.0 - amplify-nodejs-function-runtime-provider@2.3.15-rc.4a4caf393.0 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.4-rc.4a4caf393.0 - @aws-amplify/amplify-opensearch-simulator@1.2.4-rc.4a4caf393.0 - @aws-amplify/amplify-prompts@2.6.7-rc.4a4caf393.0 - @aws-amplify/amplify-provider-awscloudformation@8.0.4-rc.4a4caf393.0 - amplify-python-function-runtime-provider@2.4.15-rc.4a4caf393.0 - @aws-amplify/amplify-util-mock@5.0.6-rc.4a4caf393.0 - @aws-amplify/amplify-util-uibuilder@1.6.13-rc.4a4caf393.0 * build(deps): bump vm2 from 3.9.11 to 3.9.15 (#12410) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.11 to 3.9.15. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.11...3.9.15) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: api hotfix for ownerfield as pk (#12422) * chore: update vm2 to ^3.9.16 (#12458) * build(deps): bump vm2 from 3.9.15 to 3.9.16 (#12457) Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.15 to 3.9.16. - [Release notes](https://github.com/patriksimek/vm2/releases) - [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md) - [Commits](patriksimek/vm2@3.9.15...3.9.16) --- updated-dependencies: - dependency-name: vm2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(amplify-util-uibuilder): formFeatureFlags metadata (#12369) * feat: pass formFeatureFlags metadata to generateUiBuilderForms * chore: update tests to include formFeatureFlags * chore: format syncAmplifyUIBuilderComponents with prettier --------- Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> * feat(amplify-util-uibuilder): support StorageField (#12386) * feat((amplify-util-uibuilder): support StorageField * chore: update all aws-sdk versions to ^2.1350.0 * fix: revert changes to package.json.ejs * chore: add **/aws-sdk to package.json under resolutions * fix: revert white space changes in package.json.ejs * fix: bump codegen-ui to 2.12.1 * chore: bump lint memory --------- Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> * fix: fixes merge conflicts * feat: minor version bump * fix: fixes unit test and pin gql transformer v1 version * fix: modelgen regression * fix: updated snapshot * fix(amplify-util-uibuilder): fix icon regression (#12498) * fix: double hooks invocation (fixes #9996) * chore: move smoketest script into the e2e suite (#12414) * chore: moved smoke test to e2e test; added nx task * fix: promisify npm install * fix: remove environment variable * fix: remove yargs * fix: out of sync yarn lock * fix: corrected rest api waits * chore: add rc and latest scripts for smoketest * fix: add defaults for env vars * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-app@5.0.4 - @aws-amplify/amplify-appsync-simulator@2.11.0 - @aws-amplify/amplify-category-analytics@5.0.6 - @aws-amplify/amplify-category-auth@3.1.0 - @aws-amplify/amplify-category-custom@3.0.4 - @aws-amplify/amplify-category-function@5.2.0 - @aws-amplify/amplify-category-geo@3.1.0 - @aws-amplify/amplify-category-hosting@3.5.6 - @aws-amplify/amplify-category-interactions@5.0.6 - @aws-amplify/amplify-category-notifications@2.24.6 - @aws-amplify/amplify-category-predictions@5.1.0 - @aws-amplify/amplify-category-storage@5.1.0 - @aws-amplify/amplify-cli-core@4.0.4 - amplify-cli-core@4.0.4 - @aws-amplify/cli-extensibility-helper@3.0.4 - @aws-amplify/cli@11.1.0 - @aws-amplify/cli-internal@11.1.0 - @aws-amplify/amplify-console-hosting@2.5.4 - @aws-amplify/amplify-console-integration-tests@2.7.0 - @aws-amplify/amplify-container-hosting@2.6.4 - amplify-dotnet-function-runtime-provider@1.7.7 - @aws-amplify/amplify-dotnet-function-template-provider@2.5.4 - amplify-dynamodb-simulator@2.6.0 - @aws-amplify/amplify-e2e-core@4.9.0 - amplify-e2e-tests@4.1.0 - @aws-amplify/amplify-environment-parameters@1.5.0 - @aws-amplify/amplify-frontend-ios@3.6.6 - @aws-amplify/amplify-frontend-javascript@3.9.4 - amplify-go-function-runtime-provider@2.3.17 - amplify-graphql-migration-tests@2.4.4 - amplify-java-function-runtime-provider@2.3.17 - amplify-java-function-template-provider@1.5.20 - @aws-amplify/amplify-migration-tests@5.4.5 - amplify-nodejs-function-runtime-provider@2.3.17 - @aws-amplify/amplify-nodejs-function-template-provider@2.7.6 - @aws-amplify/amplify-opensearch-simulator@1.3.0 - @aws-amplify/amplify-provider-awscloudformation@8.1.0 - amplify-python-function-runtime-provider@2.4.17 - amplify-storage-simulator@1.8.0 - @aws-amplify/amplify-util-import@2.5.0 - @aws-amplify/amplify-util-mock@5.1.0 - @aws-amplify/amplify-util-uibuilder@1.7.0 * test: ensure single execution of push hooks * fix: codeql findings * style: run prettier * Dev main merge b009319 (#12522) * fix: graceful fallback if us-east-1 AppState unavailable (#12435) * chore: fix failing e2e tests (#12526) Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> * fix(amplify-console-hosting): handle undefined errors (#12505) * fix(amplify-console-hosting): handle undefined errors * fix: typo in previous commit * chore: update api category and codegen dependencies (#12527) * chore: update api category dependencies * chore: add codegen, and reintroduce pkg uid field * fix: snapshot test embeds codegen version * fix(mock)-handle stack trace & produce meaningful error, resolution messages for mocking API & Func category * address comments * make getAppSyncAPI public * address comments * remove unwanted ? * fix: remove use of object ACLs #10283 * chore: remove the ability to add hosting with S3 and Cloudfront * removing dev option * chore: remove console.log * chore: add a new error for not supporting publish command * chore: allow users to publish on first launch * chore: fix failing unit test * chore: add a comment to document change * try to remove update install step * chore: address feedback * chore: address codeql comments * chore: fix failing e2e tests * chore: removing unused import * chore: change let to const * chore: remove extra steps that no longer exist * chore: add prod hosting to an e2e test * Update packages/amplify-category-hosting/index.js Co-authored-by: John Hockett <jhockett@users.noreply.github.com> * chore: removing some defaults that are repetitive * build(deps): bump yaml from 2.2.1 to 2.2.2 (#12521) Bumps [yaml](https://github.com/eemeli/yaml) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](eemeli/yaml@v2.2.1...v2.2.2) --- updated-dependencies: - dependency-name: yaml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix lint errors * use AmplifyError as exception * chore: convert gql tansformer v1 core syntax errors errors to amplify exceptions (#12535) * chore: convert gql tansformer errors to amplify exceptions * chore: update API file * chore: modify failing e2e test * chore: remove test altogether * chore(release): Publish latest [ci skip] - @aws-amplify/amplify-category-hosting@3.5.7 - @aws-amplify/cli@11.1.1 - @aws-amplify/cli-internal@11.1.1 - @aws-amplify/amplify-console-integration-tests@2.7.1 - @aws-amplify/amplify-e2e-core@4.9.1 - amplify-e2e-tests@4.1.1 - @aws-amplify/amplify-migration-tests@5.4.6 * chore: remove old version of cli-core * chore: add uid * fix: add min delay to exp backoff (#12488) * fix: remove smoketest from normal e2e flow (#12555) * fix: remove smoketest from normal e2e flow * fix: configure auth for smoketest * Revert "fix: configure auth for smoketest" This reverts commit 2d103c0. * fix: don't throw for missing backend in prepush function handler (#12531) * test: fix bad import in pull-2 e2e test (#12559) * fix: generate OAuth keys from cognito for amplify pull workflow (#12518) * fix: creates oauthKeys from userpool for pull use cases * fix: creates oauthKeys from userpool for pull use cases * fix: exclude pull test from windows * chore: revert test file changes * chore: fixes codeql warnings * chore: fixes lint * test: add hooks-c e2e to windows exclusion list (#12562) * Run smoketests with e2e (#12558) * feat(amplify-util-uibuilder): update codegen-ui to 2.13.1 (#12565) * fix(amplify-util-uibuilder): update codegen-ui to 2.13.1 * feat(amplify-util-uibuilder): make conditional ui-react-storage dep warning * fix(amplify-util-uibuilder): fixing unit test * fix(amplify-util-uibuilder): added guard functions for better readability * fix: exclude smoketests on windows; remove extraneous dependency (#12572) * chore: enable deprecation warnings in non-prod CLI (#12585) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Christopher Sundersingh <83315412+sundersc@users.noreply.github.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com> * ci: e2e test splitting (#12525) * ci: migration tests and test splitting * ci: try again * ci: try just one batch * ci: remove hyphens * ci: try again * ci: cleanup * ci: instance size updates * ci: switch to single batch * ci: trigger full e2e run * ci: try again * ci: try again * ci: fix bug with migration test splitting * ci: full e2e run * ci: fix structure * ci: re-add original file * ci: cleanup * ci: cleanup * cb: enable basic e2e test coverage (#12601) This adds several items to the CodeBuild setup including CodeCov updates and V8 supported coverage for e2e tests. The CodeBuild updates include the function _uploadCoverageLinux in the shared-scripts.sh file. This setup utilizes the CodeCov Token secret, managed by SecretsManager and injected by the build. It then gets the latest CodeCov uploader executable and verifies it via SHA. Once the verification is complete, the uploader API is called, automatically searching for coverage artifacts to upload. This update also includes an update to the codecov.yml file to conform to CodeCov validation. Lastly, in this update we take advantage of the embedded ability of NodeJS to report coverage metrics: https://blog.npmjs.org/post/178487845610/rethinking-javascript-test-coverage.html. We then run the c8 tool to convert that coverage into something that both CodeCov and CodeBuild can consume. It also integrates these reports in CodeBuild directly. * ci: fix migration tests (#12619) * ci: Setup e2e scripts (#12629) * ci: remove dependance on webhooks * ci: try again * ci: migrate to manual cb triggers for e2e * ci: set region if not defined * ci: cleanup * ci: refactor * ci: Add local cloud e2e script (#12643) * ci: remove dependance on webhooks * ci: try again * ci: migrate to manual cb triggers for e2e * ci: set region if not defined * ci: cleanup * ci: refactor * ci: add local cloud-e2e support * ci: cleanup missed file (#12651) * ci: fix e2e (#12652) * chore: add test reporting and aggregate reporting (#12641) * noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore commit * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: noop commit trigger cb * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: clean up * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: change tabs to spaces * chore: change tabs to spaces * chore: change tabs to spaces * chore: change tabs to spaces * chore: make test package variable * chore: make test package variable (remove from download) * chore: increase memory size for tests, run amplify-provider-awscloudformation separately (#12685) * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: enable test reporting for full e2e run in cb (#12675) * chore: put wait for ids in file * chore: put wait for ids in file * chore: put wait for ids in file * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: noop trigger cb * chore: remove type assertions * chore: remove type assertions * chore: remove yarn install * chore: remove yarn install * chore: reduce size of generated e2e buildspec (#12686) * chore: noop trigger cb * chore: move compute type for migration tests to specific buildspec files * chore: shoreten upload_pkg_binaries identifier to reduce buildspec size * ci: add e2e coverage clover reports and cast artifacts (#12692) * fix: use and operatpr instead of semicolon to run unit tests (#12712) * chore: enable report aggregation for migration and windows tests (#12731) * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * chore: encable report aggregation for migration and windows tests * ci: rename e2e branch to avoid triggering circleci job (#12721) * ci: rename e2e branch to avoid triggering circleci job * ci: update docs * fix: local test reporting wait ids variable in buildspec (#12741) * chore: fix local reports ids variable * chore: fix local reports ids variable * chore: fix local reports ids variable * chore: fix windows buildspec (#12743) * chore: fix_windows_buildspec * chore: fix_windows_buildspec * ci: fix lint error * ci: format * ci: fix publish * ci: add integration test to generated workflow * ci: separate codebuild & cci differences (#12751) * ci: update windows build for yarn2 (#12759) * ci: update scripts to match latest yarn2 windows build * ci: try again * ci: try again * ci: dont set global npm path * ci: cleanup var names & scripts * chore: cleanup --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Doesnt Matter <not@used.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Spencer Stolworthy <sstol@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Christopher Sundersingh <83315412+sundersc@users.noreply.github.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com> Co-authored-by: kuhlmanp <119457106+kuhlmanp@users.noreply.github.com> * fix: smoke test flakynes (#12760) * chore: verdaccio wait performance (#12761) * chore: verdaccio wait performance * chore: verdaccio wait performance * chore: validate binary presence before npm publish in release (#12765) * fix: remove redundant step * fix: validate that binaries has been uploaded before publishing to NPM * fix: adjust path finding for schemas in codebuild (#12771) * fix: adjust path finding for schemas in codebuild * fix: adjust path finding for schemas in codebuild. adding windows condition * fix: adjust path finding for schemas in codebuild. adding windows condition * fix: adjust path finding for schemas in codebuild. copying windows function * fix: adjust path finding for schemas in codebuild. copying windows function * fix: adjust path finding for schemas in codebuild. copying windows function * fix: fix yarn path (#12769) * fix: fix yarn path * fix: update yarn path for e2e test and console integration tests * chore: split deployment step (#12775) * chore: separate versioning * chore: separate versioning * chore: separate local publish * chore: separate git actions * chore: separate git actions * chore: fixes * chore: fixes * chore: add rollback job * chore: fix finish release script (#12785) * fix: github release script (#12789) * chore: add reports for windows (#12792) * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * chore: add reports for windows tests * fix: update notification channel name lookup (#12763) * fix: notification update * chore: add ability to run single test cb (#12802) * chore: run single test cb * chore: run single test cb * chore: run single test cb * Update scripts/generate_single_test_buildspec_codebuild.ts Co-authored-by: John Hockett <jhockett@users.noreply.github.com> --------- Co-authored-by: John Hockett <jhockett@users.noreply.github.com> * chore: fix unallowed characters in single test split script (#12807) * chore: fix_unallowed_characters_in_single_split_script * chore: fix_unallowed_characters_in_single_split_script * fix: beta reporter endpoints urls (#12806) * test: fix pull-2 when multiple userpools present (#12808) * chore: update ci-info to use new CI detection logic (#12803) * fix: avoid empty and string rejects (#12818) * feat(amplify-category-storage): add CRUD PartiQL permissions for DynamoDB (#11002) * feat(amplify-util-mock): import custom port from mock.json (#10978) chore: fix lint Co-authored-by: Takahiro Suzuki <tkasuz@amazon.co.jp> * chore: remove lambda python test from windows suite * fix: update lambda-auth mock event.json with the correct request authorization event payload (#11428) * Update lambda-auth event with the correct request authorization event payload per https://aws.amazon.com/blogs/mobile/appsync-lambda-auth/ * chore: fix format --------- Co-authored-by: Kamil Sobol <sobkamil@amazon.com> * test: make test teardown resilient to failures (#12799) * test: add try/finally to make test teardown resilient to failures * test: address PR feedback * test: use jest events instead of try/catch * chore: run prettier * Revert "test: make test teardown resilient to failures (#12799)" (#12823) This reverts commit ab04abf. * fix: warn about multiple schema files in admin modelgen task (#12673) * fix: warn about multiple schema files in admin modelgen task * chore: lint fix * fix: add check for studio enabled projects * chore: update snapshot * fix: fix Property ‘handleRunQuery’ does not exist on type ‘GraphiQL’ * chore: update CONTRIBUTING * Revert "fix: fix Property ‘handleRunQuery’ does not exist on type ‘GraphiQL’" This reverts commit 273871d. * chore: Refine Dart config parsing (#11181) * chore: Refine Dart config parsing We are experimenting with some new config layouts and the current parsing behavior prevents changing the config structure. This expands on the current behavior to allow more flexibility in the config file contents. * Add tests * test(amplify-frontend-flutter): clean up tests * chore: bump data dependency version (#12834) * chore: bump data dependency version * fix: feature flag in mock package * fix mock test * fix unit test * fix: usage data should not throw errors (#12839) * fix: usage data should not throw errors * update api dependencies --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: akshbhu <39866697+akshbhu@users.noreply.github.com> Co-authored-by: awsluja <110861985+awsluja@users.noreply.github.com> Co-authored-by: Doesnt Matter <not@used.com> Co-authored-by: Eddy Varela <eddvar@amazon.com> Co-authored-by: Zachary Goldberg <goldbez@amazon.com> Co-authored-by: Spencer Stolworthy <sstol@amazon.com> Co-authored-by: Kamil Sobol <sobkamil@amazon.com> Co-authored-by: Zeyu Li <lizeyu@amazon.com> Co-authored-by: Akshay Upadhyay <akz@amazon.com> Co-authored-by: Pavel Lazar <85319655+lazpavel@users.noreply.github.com> Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com> Co-authored-by: Edward Foyle <foyleef@amazon.com> Co-authored-by: Robert J. Lemmens <eksit@pm.me> Co-authored-by: aws-amplify-bot <aws@amazon.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: John Hockett <jhockett@users.noreply.github.com> Co-authored-by: Joe Buono <joebuono724@gmail.com> Co-authored-by: Joe Buono <joebuono@amazon.com> Co-authored-by: Hein Jeong <73264629+hein-j@users.noreply.github.com> Co-authored-by: Hein Jeong <heinje@amazon.com> Co-authored-by: akshay <akshayupadhyay3@gmail.com> Co-authored-by: Charles Shin <shin.charles11@gmail.com> Co-authored-by: John Hockett <hi@johnhockett.com> Co-authored-by: Al Harris <91494052+alharris-at@users.noreply.github.com> Co-authored-by: Manaswi Manthena <manamaha@amazon.com> Co-authored-by: Stu Tomlinson <stu@nosnilmot.com> Co-authored-by: Charles Shin <charlshi@amazon.com> Co-authored-by: kuhlmanp <119457106+kuhlmanp@users.noreply.github.com> Co-authored-by: Danielle Adams <6271256+danielleadams@users.noreply.github.com> Co-authored-by: Pavel Lazar <pavel@alazara.com> Co-authored-by: John Ferlito <johnf@inodes.org> Co-authored-by: Takahiro Suzuki <63289889+tkasuz@users.noreply.github.com> Co-authored-by: Takahiro Suzuki <tkasuz@amazon.co.jp> Co-authored-by: Kevin Old <kevin@kevinold.com> Co-authored-by: Phani Srikar Edupuganti <55896475+phani-srikar@users.noreply.github.com> Co-authored-by: MJ☔ <zhamujun@amazon.com> Co-authored-by: Dillon Nys <24740863+dnys1@users.noreply.github.com> Co-authored-by: MJ Zhang <0618@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.